/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels
{
    [Entity(TableCnName = "接收者关系表",TableName = "tb_project_declaremessage_depar_role")]
    public partial class tb_project_declaremessage_depar_role:BaseEntity
    {
        /// <summary>
       ///接收关系表ID
       /// </summary>
       [Key]
       [Display(Name ="接收关系表ID")]
       [MaxLength(64)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid ID { get; set; }


       /// <summary>
       ///部门ID
       /// </summary>
       [Display(Name ="部门ID")]
       [MaxLength(64)]
       [Column(TypeName="nvarchar(64)")]
       [Editable(true)]
       public string deparmentId { get; set; }

       /// <summary>
       ///角色ID
       /// </summary>
       [Display(Name ="角色ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? roleId { get; set; }

       
    }
}